﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/SiteMaster.Master"
    Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    修改密码
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div class="section-header">
        <div class="title">
            <img src="<%=Url.Content("~/Content/images/ico-catalog.png")%>" alt="" />
            修改个人密码
        </div>
        <div class="options">
        </div>
    </div>
    <%=Html.ValidationSummary(true)%>
    <%using (Html.BeginForm("ChangePassword", "User", FormMethod.Post, new { id = "groupform" }))
      {
    %>
    <table class="adminContent">
        <tr>
            <td class="adminTitle">
                用户名:
            </td>
            <td class="adminData">
                <%=Html.Editor("userName")%>
            </td>
        </tr>
        <tr>
            <td class="adminTitle">
                原始密码:
            </td>
            <td class="adminData">
                <%=Html.Password("oldPwd", null, new { @class = "text-box single-line" })%>
            </td>
        </tr>
        <tr>
            <td class="adminTitle">
                新密码:
            </td>
            <td class="adminData">
                <%=Html.Password("newPwd", null, new { @class = "text-box single-line" })%>
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <input type="submit" value="提交" class="t-button" />
            </td>
        </tr>
    </table>
    <%} %>
</asp:Content>
